-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
BUG/TST: fillna limit checks and tests #27077
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BUG/TST: fillna limit checks and tests #27077
Conversation
Reversed the order of returning and performing checks on `limit` in fillna method in blocks.py so that an ValueError is raised before returning.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i like this a lot better thatn the other one :->
DataFrame.fillna
limit
checks and tests
Codecov Report
@@ Coverage Diff @@
## master #27077 +/- ##
===========================================
- Coverage 92.03% 41.86% -50.18%
===========================================
Files 180 180
Lines 50714 50714
===========================================
- Hits 46675 21229 -25446
- Misses 4039 29485 +25446
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## master #27077 +/- ##
==========================================
- Coverage 92.04% 92.03% -0.01%
==========================================
Files 180 180
Lines 50714 50718 +4
==========================================
Hits 46680 46680
- Misses 4034 4038 +4
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great change!
Co-Authored-By: William Ayd <[email protected]>
Thanks @Inevitable-Marzipan ! |
Thanks for the help guys, 1st PR done! |
Reversed the order of returning and performing checks on
limit
in fillna method in blocks.py so that an ValueError is raised
before returning.
Alternative to PR #27074
git diff upstream/master -u -- "*.py" | flake8 --diff